#define _CRT_SECURE_NO_WARNINGS 1
bool isyy(char ch)
{
    return (ch == 'a' || ch == 'e' || ch == 'i' || ch == 'o' || ch == 'u' ||
        ch == 'A' || ch == 'E' || ch == 'I' || ch == 'O' || ch == 'U') ? true : false;
}
bool halvesAreAlike(char* s) {
    int len = strlen(s);
    int len1 = len / 2;
    char* s1 = s;
    char* s2 = s + len1;
    int sum1 = 0;
    int sum2 = 0;
    for (int i = 0; i < len1; i++)
    {
        if (isyy(s1[i]))
        {
            sum1++;
        }
        if (isyy(s2[i]))
        {
            sum2++;
        }
    }
    if (sum1 == sum2)
    {
        return true;
    }
    else
    {
        return false;
    }
}